<script>
    (function (i, s, o, g, r, a, m) {
        i['GoogleAnalyticsObject'] = r;
        i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date();
        a = s.createElement(o),
            m = s.getElementsByTagName(o)[0];
        a.async = 1;
        a.src = g;
        m.parentNode.insertBefore(a, m)
    })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

    ga('create', 'UA-58871042-1', 'auto');
    ga('send', 'pageview');

</script>

<div class="banner-box">
    <!--
    <div class="font1"></div>
    <div class="font2"></div>
    <div class="font3"></div>
    <div class="pop1"></div>
    <div class="pop2"></div>
    -->
    <div class="bm"></div>
    <div class="pic-scrll clearfix">
        <div class="left"></div>
        <ul>

            @foreach($banners as $k => $v)
                <li @if($k == 0) style="display:block;" @endif><a href="javascript:void(0)"><img src="/upload/{{$v['image']}}" alt="{{$v['title']}}"/></a></li>
            @endforeach
        </ul>
        <div class="right"></div>
    </div>
</div>
<div class="nav clearfix">
    <div class="log">
        <img src="/static/web/images/log.jpg"/>
    </div>
    <ul class="nav-ul">
        <li><a href="/" @if($nav ==1) class="on" @endif>关于比赛</a></li>
        <li><a href="/rules" @if($nav ==2) class="on" @endif>参赛须知</a></li>
        <li><a href="/schedule" @if($nav ==3) class="on" @endif>比赛日程</a></li>
        <li><a href="/data/1" @if($nav ==4) class="on" @endif>资料库</a></li>
        <li><a href="/news" @if($nav ==5) class="on" @endif>新闻中心</a></li>
        <li><a href="/problem" @if($nav ==6) class="on" @endif>常见问题</a></li>
    </ul>
    <div class="yamha">
        <a href="http://www.yamaha.com.cn/" target="_blank">雅马哈官网</a>
    </div>
    <div class="weibo">
        <a href="http://weibo.com/windsyamaha" target="_blank"><img src="/static/web/images/weibo.jpg"/></a>
    </div>
</div>